package com.iflytek.dto;

import com.iflytek.model.Permission;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class UserDTO {
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "角色")
    private List<Long> role;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "年龄",example="1")
    private Integer age;

    @ApiModelProperty(value = "账户余额")
    private BigDecimal account;

    private List<Permission> permission;

    private String token;
}
